<!--
 * @Descripttion: 
 * @Author: xiaodong
 * @Date: 2020-11-13 14:45:51
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <script src="../dist/cloud-monitor-sdk.js"></script>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>
    <!-- <script src="https://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js"></script> -->
  </head>
  <body>
    <script>
      window.__bl = {
          config: {
              pid:"ar86tbizy7@d626a4d682bf55e",appType:"web",imgUrl:"https://arms-retcode.aliyuncs.com/r.png?",sendResource:true,enableLinkTrace:true,behavior:true
          }
      }
  </script>
  <script type="text/javascript" src="https://retcode.alicdn.com/retcode/bl.js" crossorigin></script>
    <img class="imga" id="iii" width="200" height="120" src="./dog.jpeg" />
    index
    <script>
      // new Image().src = 'http://localhost:3000/report?' + JSON.stringify({a:1});
      new CloudMonitor({
        enableSPA: false,
        token: "1",
        reportUrl: "http:localhost:3000/server/report.png",
        behavior: {
          console: ["error"], // 取值可以是"debug", "info", "warn", "log", "error"
          click: true,
        },
      });
    </script>
    <script src="./a.js"></script>
    <script src="./b.js"></script>
    <script>
      // console.log(b)
      function A() {
        B();
      }

      function B() {
        C();
      }

      function C() {
        console.log(c);
      }

      D();

      setTimeout(() => {
        console.log(a);
      }, 1000);
      function foo() {
        return Promise.reject("Hello!");
      }

      var r = foo();

      setTimeout(() => {
        r.catch(e => {});
      }, 1000);
    </script>
    <!-- <a href='#a'>a</a> -->
    <button id="#btn" onclick="C()">aaa</button>
    <button id="#btn3" >aaa</button>
    <input class="name" />
    <textarea class="ta"></textarea>

    <script>
      fetch(
        "https://devdcc.seeyon.com/designgateway/designCenter/home/getHelpCenterInfo?_t=1609750010000"
      );

      function C() {
        location.href = "#a";
        let stateObj = {
          foo: "bar",
        };

        history.pushState(stateObj, "page 2", "bar.html");
        console.log("a", "b");
        $.ajax({
          url: "http://localhost:5000/example/zan",
        });
        $.ajax({
          type: "POST",
          contentType: "application/json",
          url:
            "http://sitm.igola.com/web-gateway/api-data-service/data/find-hot",
          data: JSON.stringify({ lang: "ZH", timestamp: 1569225444068 }),
          dataType: "json",
        });
        $.post(
          "http://sitm.igola.com/web-gateway/api-data-service/data/find-hot",
          { lang: "ZH", timestamp: 1569225444068 }
        );
        __bb.msg("A::a");
        __bb.sum("A::b");
        __bb.sum("A::c");
        __bb.sum("B::a");
        __bb.sum("B::b");
        __bb.sum("B::c");
      }
    </script>
    <script></script>
  </body>
</html>
